package game.breeze.message.codec;

import game.breeze.message.Message;
import game.breeze.socket.util.BufferWrapper;

/**
 * 
 * Class desc there
 * 
 * @author yangwei ywengineer@gmail.com
 * 
 */
public class IoMessageCodecFactory implements IMessageCodecFactory {
	public IMessageDecoder<Message, BufferWrapper> createDecoder() {
		return new AppMessageDecoder();
	}

	public IMessageEncoder<Message, BufferWrapper> createEncoder() {
		return new IoBufferMessageEncoder();
	}
}